/********************************************/
/* vertex shader */

uniform mat4 uMatrixRZ; 
uniform mat4 uMatrixRX;
uniform mat4 uMatrixRY;

attribute vec3 aPosition;
attribute vec3 aNormal;
attribute vec3 aColor;

varying vec3 vPosition;
varying vec3 vNormal;
varying vec3 vColor;

void main()
{
	gl_Position = uMatrixRZ*uMatrixRX*uMatrixRY*vec4(aPosition, 1.0 );
	vPosition = aPosition;
	vNormal = aNormal;
    vColor = aColor;
}

